<?php

return [

    //结算时间
    'balance_time_config' => [
        1 => 'hour',
        2 => 'day',
        3 => 'month'
    ],
    'AliPay' => [
        'app_id' => "2017082508382156", //应用ID,您的APPID。
        'notify_url' => env('ALI_NOTIFY_URL'), //异步通知地址
        'return_url' => env('ALI_RETURN_URL'), //同步跳转
        'charset' => "utf-8", //编码格式
        'gatewayUrl' => "https://openapi.alipay.com/gateway.do", //支付宝网关
        //支付宝公钥    ---支付宝公钥
        'alipay_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqRzF3XmU3Aj92LgWUR2+ggDKyTuelWFpv6QPWXJi+UkVx29pVrEasoYlYd04IVgSTL10H3V2O9JaWgg3Od50SZacwqVYqSnEwSdgjw31+AJ93dJEVY2dNz8nSUnQxL5wIKFmITWg5Xxrg4WusfAl5go/2Q9yAuuZDIJt7i3SWnfiIUToPmZpwY8hBASYASWewJrNiBpjZALqP5/0LTfTzrXKHUEXJrYj4FdzHyn6PxfRiMJKrIjQPVDL9LDKQjtpkbi/IOBkqjNUlw49XdRTPGVMkTKpR5mITFgqP+17asbykX50zuVcmj/+8MtP/DCrt6ckEZDNeFaZkSvdN03O7QIDAQAB',
        //商户私钥，您的原始格式RSA私钥   --商户私钥
        'merchant_private_key' => 'MIIEpAIBAAKCAQEArU63TLzLwtmkl4WWqRdqHMcMZZ6nDdspykZMUIYrH9n5lq8QxB3pF3rn9pFdobjfi5M84cDCyl2I9gPMkcMokwJl/F9YNHc5CrIu2qgaDZZLPlm5P6XDepftlIhMZZ9o7iJsTEbAK0ybgwVGU82w29PgPW1Jp9D4bmdtcy0jWmzi8mBN+SJHwnn6LSoFYQ/lGp74iDHaxaOG2VycQBeTLueRuGIPL25xkd0698JRjp8UDTU3rQb0bgc+yeBwXsmM9NZfXoOiCShYC7CgqVP+sKuKhNnXSHPEEsEvdxGOfEAA9FwN3en8CAg8lo6RQumV37ixLjM6gUu3TRpw3jXKAwIDAQABAoIBAQCnS0gX9FuBUR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tQj0ohuqu5NKgD1giy0B9Xpfv3iRHYtmYBVDyCpZ7x1XS8OY1gdSojLOGJDNnrM165JvDMq0OdK3Nl4+SV58fErvwhZ3nVcOkRfGOSme00QS/Shoo12zPmUZsZGaKuGWA==',
        //日志路径
        'log' => storage_path() . '/logs/alipay.log',
        //app商户私钥
//        'merchant_app_private_key' => "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMB0Ryq9jLJmLdNXLOJVFeF7Jdup18bFljQBiE60vw+nnAm2DYA7i5zdb84V+2dwjyjDNwPyPB3lfRu2Df93GeeyksaeATFPmL8ptwvQBe9gQK7X9R6jes6lLJ3kQn+2ZWRPhMj2He48C1ccVZtOAzjkrWfWtB494zBqclSsmqQtAgMBAAECgYEAukIO+mN2vtW7NhXhn67fPVlU+3I2He7ufqiZBitR2lHJ53AlQtzeMtPwuBB4PtUmCDpejVgsLHcFDQO2Km9XRkAF6Co3H7A0pEHVadhy05ELcHiY+uWw5h7oI9IN5bypyIlGe3dSzbLhEMIY/57Mwqg3uiDGnzJKaoax8vc/kOECQQD9tFxYWinWkTxegbgNjrLk4nD+X3rjWPSw/1QMvq7Zmia2pLOjKoqfoki6GHeUnawL11g7fVTwH3hEvHvIevipAkEAwjIMEXOysDjgAaUfEo1WjDww0CVu3clbFzzeeMacWJaSgEdvAwSceCSCBsXcWqF18zoXVmcmxukko2CnYhCt5QJAdm06rgNohEBHbdYflDSITU9mb1cihf2AOx70nP5loC3U5Gz9bazuCJY4XKYPK9Bt/xkGlr5qZ6xI980D+xFsAQJAXdxKsPS23S3gN2tTxWfC+Szueuxc1Z3JBUZKUR3N25OLY60jHtZPulIK9rMTekqn89OUDBL3TxTIvJ6uyFs/cQJBANdacqmg6Q03ZO++0SEGigd9JxnrHTFHYpjXdYXvMDR0nVsnBIToFyaT5t1x5p+XBYR25itxDeQcDVUCnhVr9L4="
        // 以下未即时支付相关参数
        //无密退款
        'refund_no_pwd_service' => "refund_fastpay_by_platform_nopwd",
        //合作身份者ID，签约账号，以2088开头由16位纯数字组成的字符串，查看地址：https://b.alipay.com/order/pidAndKey.htm
        'partner' => '2088721900140073',
        //字符编码格式 目前支持 gbk 或 utf-8
        'input_charset' => strtolower('utf-8'),
        //签名方式
        'sign_type' => strtoupper('RSA2'),
        // MD5密钥，安全检验码，由数字和字母组成的32位字符串，查看地址：https://b.alipay.com/order/pidAndKey.htm
        'key' => 'njo4g945ztz4nyuuwddgwgmgk6lrbbbe',
    ],
    'AliWebPay' => [
        //合作身份者ID，签约账号，以2088开头由16位纯数字组成的字符串，查看地址：https://b.alipay.com/order/pidAndKey.htm
        'partner' => '2088721900140073',
        //收款支付宝账号，以2088开头由16位纯数字组成的字符串，一般情况下收款账号就是签约账号
        'seller_id' => '2088721900140073',
        'seller_email' => 'shhnzfb@5ihuanniu.com',
        // MD5密钥，安全检验码，由数字和字母组成的32位字符串，查看地址：https://b.alipay.com/order/pidAndKey.htm
        'key' => 'njo4g945ztz4nyuuwddgwgmgk6lrbbbe',
        // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
        'notify_url' => 'https://shop-api.iopenshop.com/merchant_apply_ali_recharge_notify',
        // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
        'return_url' => 'http://shop-merchant.iopenshop.com',
        //签名方式
        'sign_type' => strtoupper('RSA2'),
        //字符编码格式 目前支持 gbk 或 utf-8
        'input_charset' => strtolower('utf-8'),
        //ca证书路径地址，用于curl中ssl校验
        //请保证cacert.pem文件在当前文件夹目录中
        'cacert' => '',
        //访问模式,根据自己的服务器是否支持ssl访问，若支持请选择https；若不支持请选择http
        'transport' => 'http',
        // 支付类型 ，无需修改
        'payment_type' => "1",
        // 产品类型，无需修改
        'service' => "create_direct_pay_by_user",
        //退款
        'refund_service' => "refund_fastpay_by_platform_pwd",
        //无密退款
        'refund_no_pwd_service' => "refund_fastpay_by_platform_nopwd",
        //↓↓↓↓↓↓↓↓↓↓ 请在这里配置防钓鱼信息，如果没开通防钓鱼功能，为空即可 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
        // 防钓鱼时间戳  若要使用请调用类文件submit中的query_timestamp函数
        'anti_phishing_key' => "",
        // 客户端的IP地址 非局域网的外网IP地址，如：221.0.0.1
        'exter_invoke_ip' => "",
        //↑↑↑↑↑↑↑↑↑↑请在这里配置防钓鱼信息，如果没开通防钓鱼功能，为空即可 ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
    ],

    //传化支付-测试环境
    'chuanhua' => [
//        'postUrl'        => 'http://openapitest.tf56.com/service/api',
//        'appid'          => '1000160',
//        'account'        => '8802000084479',    //支付账号
//        'sk'             => '0ypx2o1GU5L4512Q496Q',//签名SK
//        'ak'             => '5BLXm9T9lLAYyM22',//身份标识AK
//        'code'           => '5688120133016042', //商户编号
//        'back_url'       => env('USER_DOMAIN') . '/api/chuanhua_callBack', //回调地址-单笔
//        'back_url_multi' => env('USER_DOMAIN') . '/api/chuanhua_callBack_multi', //回调地址-批量

        'postUrl'        => 'http://openapi.tf56.com/service/api',
        'appid'          => '1329001',
        'account'        => '8800009831319',    //支付账号
        'sk'             => 'p4W1409VsMx07xFoKk69',//签名SK
        'ak'             => 'NmY9GIO6m54X2C10',//身份标识AK
        'code'           => '6688150131009033', //商户编号
        'back_url'       => "http://".env('USER_DOMAIN') . '/api/chuanhua_callBack', //回调地址-单笔
        'back_url_multi' => "http://".env('USER_DOMAIN') . '/api/chuanhua_callback_multi', //回调地址-批量
    ],

    'amap' => [
        'key' => '30fa0f2d077b567d02b9c9af98278f7a', // 高德地图api  jifenbao实例下的外卖web服务key
        'map_url' => 'http://webapi.amap.com/maps?v=1.4.2&key=30fa0f2d077b567d02b9c9af98278f7a'
    ],

];
